import api from '@/api/index'

export default {
	// 轮播图
	Banner_edit: (data : any) => api.post('Banner/edit', data, {}),
	Banner_list: (data : any) => api.post('Banner/index', data, {}),
	Banner_delete: (data : any) => api.post('Banner/delete', data, {}),
	Banner_info: (data : any) => api.post('Banner/info', data, {}),

	// 公告
	Notice_edit: (data : any) => api.post('Notice/edit', data, {}),
	Notice_list: (data : any) => api.post('Notice/index', data, {}),
	Notice_delete: (data : any) => api.post('Notice/delete', data, {}),
	Notice_info: (data : any) => api.post('Notice/info', data, {}),

	// 单页设置
	RichText_edit: (data : any) => api.post('RichText/edit', data, {}),
	RichText_list: (data : any) => api.post('RichText/index', data, {}),
	RichText_delete: (data : any) => api.post('RichText/delete', data, {}),
	RichText_info: (data : any) => api.post('RichText/info', data, {}),

	// 合同模板
	Pact_edit: (data : any) => api.post('Pact/edit', data, {}),
	Pact_list: (data : any) => api.post('Pact/index', data, {}),
	Pact_delete: (data : any) => api.post('Pact/delete', data, {}),
	Pact_info: (data : any) => api.post('Pact/info', data, {}),

	// 首页按钮
	Button_edit: (data : any) => api.post('Button/edit', data, {}),
	Button_list: (data : any) => api.post('Button/index', data, {}),
	Button_delete: (data : any) => api.post('Button/delete', data, {}),
	Button_info: (data : any) => api.post('Button/info', data, {}),

	// 视频管理
	Video_edit: (data : any) => api.post('Video/edit', data, {}),
	Video_list: (data : any) => api.post('Video/index', data, {}),
	Video_delete: (data : any) => api.post('Video/delete', data, {}),
	Video_info: (data : any) => api.post('Video/info', data, {}),

	// 公告配置
	setting_edit: (data : any) => api.post('setting/edit', data, {}),
	setting_info: (data : any) => api.post('setting/info', data, {}),


}